package com.xsy.android.compose.wandroid.ui.page.login

import com.xsy.android.compose.wandroid.logic.network.Network

/**
 *@author: xiaosy
 *时间: 2024/7/17
 *@Description: java类作用描述
 *@Version: 1.0
 **/
class AccountRepository {
    suspend fun getLogin(username: String, password: String) =
        Network.getLogin(username, password)

    suspend fun getRegister(username: String, password: String, rePassword: String) =
        Network.getRegister(username, password, rePassword)

    suspend fun getLogout() = Network.getLogout()
}